﻿using Messhall.Service.Proxy.Model;
using Microsoft.Extensions.Configuration;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text;

namespace Messhall.Service.Proxy
{
    public class ServiceFactory
    {
        public static T Create<T>()
        {
            return (T)DispatchProxy.Create<T, RemoteCallProxy<T>>();
        }
    }
}
